package modellayer;

public class Copy 
{

	String serialNumber;
	String purchaseDate;
	String purchasePrice;
	String title;
	boolean home;

	/**
	 * the constructor of class Copy
	 * @param title String
	 * @param serialNumber String
	 * @param purchaseDate String
	 * @param purchasePrice String
	 */
	public Copy(String title, String serialNumber, String purchaseDate, String purchasePrice) 
	{
		this.serialNumber = serialNumber;
		this.purchaseDate = purchaseDate;
		this.purchasePrice = purchasePrice;
		this.title = title;
		home = true;
	}

	/**
	 * @return the title
	 */
	public String getTitle() 
	{
		return title;
	}

	/**
	 * @param title the title to set
	 */
	public void setTitle(String title) 
	{
		this.title = title;
	}

	/**
	 * @return the home
	 */
	public boolean isHome() 
	{
		return home;
	}

	/**
	 * @param home the home to set
	 */
	public void setHome(boolean home) 
	{
		this.home = home;
	}

	/**
	 * @return the serialNumber
	 */
	public String getSerialNumber() 
	{
		return serialNumber;
	}

	/**
	 * @param serialNumber the serialNumber to set
	 */
	public void setSerialNumber(String serialNumber) 
	{
		this.serialNumber = serialNumber;
	}

	/**
	 * @return the purchaseDate
	 */
	public String getPurchaseDate() 
	{
		return purchaseDate;
	}

	/**
	 * @param purchaseDate the purchaseDate to set
	 */
	public void setPurchaseDate(String purchaseDate) 
	{
		this.purchaseDate = purchaseDate;
	}

	/**
	 * @return the purchasePrice
	 */
	public String getPurchasePrice() 
	{
		return purchasePrice;
	}

	/**
	 * @param purchasePrice the purchasePrice to set
	 */
	public void setPurchasePrice(String purchasePrice) 
	{
		this.purchasePrice = purchasePrice;
	}
}
